package com.xdkj.mapper;

import com.xdkj.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 霸气李董
 */
@Component
@Mapper
public interface StudentMapper {

    int deleteByPrimaryKey(Integer sid);

    int insert(Student student);

    Student selectByPrimaryKey(Integer sid);

    int updateByPrimaryKey(Student record);

    List<Student> queryAll();
}